/**
 * @format
 */

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import {createAppContainer} from 'react-navigation'
import {AppSwitchNavigator} from './navigator/AppNavigaors'
import SplashScreen from 'react-native-splash-screen';

const appSwitchNavigator = createAppContainer(AppSwitchNavigator);
AppRegistry.registerComponent(appName, () => {
    SplashScreen.hide();
    return appSwitchNavigator
});
